package rs.etf.es.algorithm;

import java.io.ByteArrayOutputStream;

public class AlgorithmMemento {
    private ByteArrayOutputStream nodeAddressBookData;
    private AlgorithmState currentState;
    private String logText;
    private String rootName;
    private byte[] nodeAddressBookArray;
    private byte[] nextAlgorithmSteps;
    private byte[] requestManager;

    public AlgorithmMemento() {
    }

    public String getRootName() {
	return rootName;
    }

    public void setRootName(String rootName) {
	this.rootName = rootName;
    }

    public ByteArrayOutputStream getNodeAddressBookData() {
	return nodeAddressBookData;
    }

    public void setNodeAddressBookData(ByteArrayOutputStream nodeAddressBookData) {
	this.nodeAddressBookData = nodeAddressBookData;
    }

    public AlgorithmState getCurrentState() {
	return currentState;
    }

    public void setCurrentState(AlgorithmState currentState) {
	this.currentState = currentState;
    }

    public String getLogText() {
	return logText;
    }

    public void setLogText(String logText) {
	this.logText = logText;
    }

    public byte[] getNodeAddressBookArray() {
	return nodeAddressBookArray;
    }

    public void setNodeAddressBookArray(byte[] nodeAddressBookArray) {
	this.nodeAddressBookArray = nodeAddressBookArray;
    }

    public byte[] getNextAlgorithmSteps() {
	return nextAlgorithmSteps;
    }

    public void setNextAlgorithmSteps(byte[] nextAlgorithmSteps) {
	this.nextAlgorithmSteps = nextAlgorithmSteps;
    }

    public byte[] getRequestManager() {
	return requestManager;
    }

    public void setRequestManager(byte[] requestManager) {
	this.requestManager = requestManager;
    }

}
